#ifndef __LEXER__
#define __LEXER__
//词法分析器
#include "errorhandler.h"
#include "shared.h"
#include "instructiontable.h"
struct InstructionParseEntry
{
    string instruction;
    vector<string>operands;
    int number;
};
extern vector<InstructionParseEntry>InstructionParseList;
ERROR lexAnalysis(string sourceFileName, string lexedFileName);
void append(string& str,InstructionParseEntry& tmp,int& flag);

#endif
